<table class="table table-border table-bordered table-hover table-bg">
	<thead>
		<tr class="text-c">
			<th>编号</th>
			<th>合同编号</th>
			<th>房间号</th>
			<th>姓名</th>
			<th>押金</th>
			<th>房租</th>
			<th>物业费</th>
			<th>水费</th>
			<th>电费</th>
			<th>其他</th>
			<th>退款方式</th>
			<th>合计</th>
			<th>操作人</th>
			<th>日期</th>
			<th width="100">备注</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<?php if($list){ foreach($list as $k=>$ls){ ?>
		<tr class="text-c">
			<td><?php echo ($page-1)*C('PAGE_SIZE')+($k+1); ?></td>
			<td>{$ls['contract']}</td>
			<td>{$ls['roomnumber']}</td>
			<td>{$ls['nickname']}</td>
			<td>{$ls['deposit']}</td>
			<td>{$ls['rent']}</td>
			<td>{$ls['property']}</td>
			<td>{$ls['water_power']}</td>
			<td>{$ls['electric']}</td>
			<td>{$ls['other']}</td>
			<td><?php 
				switch($ls['pay_type']){
					case 0:
						echo '现金';
					break;
					case 1:
						echo '支付宝';
					break;
					case 2:
						echo '微信';
					break;
					case 3:
						echo '信用卡';
					break;
				}
			?></td>
			<td>{$ls['acount']}</td>
			<td>{$ls['admin_nick']}</td>
			<td><?php echo date('Y-m-d', $ls['createtime']);?></td>
			<td class="text-l">
				{$ls['remark']} <br />
				{$ls['pay_card']}
			</td>
			<td>
				<?php if(!empty($ls['images'])){ ?>
				<a href="javascript:void(0);" title="图集" onclick="admin_role_edit('查看图集','goback.html?gid={$ls['id']}', 1,'700', '500');" style="text-decoration:none"><i class="Hui-iconfont">&#xe613;</i></a>
				<?php } ?>
			</td>
		</tr>
		<?php } }else{ ?>
		<tr class="text-c">
			<td colspan="20">暂无数据...</td>
		</tr>
		<?php } ?>
	</tbody>
</table>
<!--page-->
<include file="Common/page" />